import unittest
from BeautifulReport import BeautifulReport

from settings.constant import p_path

if __name__ == '__main__':
    test_suite = unittest.defaultTestLoader.discover(p_path.CASE_PATH, pattern='test*.py')
    result = BeautifulReport(test_suite)
    result.report(filename='机构app测试报告', description='机构平台app接口测试报告', report_dir='reports')
